const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  outputDir: process.env.VUE_APP_FILE_Name,
  assetsDir: 'static',
  css: {
    loaderOptions: {
      css: {
        modules: {
          auto: true,
          localIdentName: '[name]_[local]__[hash:base64]',
        }
      },
      scss: {
        additionalData: `@import "@/styles/index.scss";@import "@nutui/nutui/dist/styles/variables.scss";`,
      }
    },
  },
  publicPath: './',
  devServer: {
    port: 4322,
    client: {
      overlay: {
        runtimeErrors: false,
      },
    },
  },
  configureWebpack: {
    name: "宜春惠民保",
  },
})
